<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>显示模式practice</title>
    <style>
      div div {
        height: 30px;
        text-align: left;
        line-height: 30px;
        color: #f2f2f2;
        padding-left: 10px;
      }
      a div:hover {
        background-color: darkorange;
      }
      .container {
        background-color: dimgray;
        width: 130px;
      }
      a {
        text-decoration: none;
      }
      .background-par {
        background-image: url("not.png");
        width: 100px;
        height: 50px;
        background-repeat: no-repeat;
        background-color: darkorange;
        text-align: center;
        line-height: 50px;
        color: #f2f2f2;
        background-position: center left;
      }
    </style>
  </head>
  <body>
    <div class="container">
      <a href="#"><div>笔记本 平板</div></a>
      <a href="#"><div>出行 穿戴</div></a>
    </div>
    <div class="background-par">这是一个×</div>
  </body>
</html>
